package com.huanxing.cloud.upms.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 终端信息
 *
 * @author lijx
 * @since 2022/2/10 10:56
 */
@Data
@ApiModel(description = "终端信息")
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_oauth_client_details")
public class SysOauthClientDetails extends Model<SysOauthClientDetails> {
  @ApiModelProperty(value = "client_id")
  @TableId(type = IdType.INPUT)
  private String clientId;

  private String resourceIds;

  @ApiModelProperty(value = "秘钥")
  private String clientSecret;

  private String scope;

  private String authorizedGrantTypes;

  private String webServerRedirectUri;

  private String authorities;

  private String accessTokenValidity;

  private String refreshTokenValidity;

  private String additionalInformation;

  private String autoapprove;
}
